package com.yuxiu.edu.service.base;

import java.util.List;

/**
 * @author Administrator
 * @date 2020/12/27 17:57:58
 * @description
 */
public interface IBaseService<T> {
    public T findById(Integer id);
    public T findByUUID(String uuid);

    public List<T> findAll();
    public List<T> findByModel(T t);

    public void deleteByID(Integer id);
    public void deleteByUUID(String uuid);

    public void update(T t) ;

    public void insert(T t) ;
}
